import React from 'react';
import {messages} from "share/common";
import moment from "moment/moment";


export default {

  carColumns() {
    return [
      {
        title: '所属账期',
        key: "month",
        dataIndex: 'month',
        width: 120,
      },
      {
        title: '企业订单号',
        key: "ddOrderId",
        dataIndex: 'ddOrderId',
        width: 120,
      },
      {
        title: '订单状态',
        key: "ddOrderStatus",
        dataIndex: 'ddOrderStatus',
        width: 120,
      },
      {
        title: '用车类型',
        key: "ddRequireLevel",
        dataIndex: 'ddRequireLevel',
        width: 120,
      },
      {
        title: '用车类型(明细)',
        key: "ddRequireLevelDetail",
        dataIndex: 'ddRequireLevelDetail',
        width: 120,
      },
      {
        title: '下单人员工ID',
        key: "ddUserId",
        dataIndex: 'ddUserId',
        width: 140,
      },
      {
        title: '下单人电话',
        key: "ddUserPhone",
        dataIndex: 'ddUserPhone',
        width: 120,
      },
      {
        title: '支付方式',
        key: "ddPayType",
        dataIndex: 'ddPayType',
        width: 120,
      },
      {
        title: '订单总金额',
        key: "ddTotalPrice",
        dataIndex: 'ddTotalPrice',
        width: 120,
      },
      {
        title: '企业实付金额',
        key: "ddCompanyActualPrice",
        dataIndex: 'ddCompanyActualPrice',
        width: 140,
      },
      {
        title: '用券抵扣金额',
        key: "ddVoucherPrice",
        dataIndex: 'ddVoucherPrice',
        width: 120,
      },
      {
        title: '车费金额',
        key: "ddCarPrice",
        dataIndex: 'ddCarPrice',
        width: 120,
      },
      {
        title: '企业实退金额',
        key: "ddCompanyRefundPrice",
        dataIndex: 'ddCompanyRefundPrice',
        width: 120,
      },
      {
        title: '支付时间',
        key: "ddPayTime",
        dataIndex: 'ddPayTime',
        width: 160,
      },
      {
        title: '退款时间',
        key: "ddRefundTime",
        dataIndex: 'ddRefundTime',
        width: 120,
      },
      {
        title: '用车方式',
        key: "ddCarType",
        dataIndex: 'ddCarType',
        width: 120,
      },
      {
        title: '企业应付金额',
        key: "ddCompanyPayPrice",
        dataIndex: 'ddCompanyPayPrice',
        width: 140,
      },
      {
        title: '姓名',
        key: "tesUserName",
        dataIndex: 'tesUserName',
        width: 120,
      },
      {
        title: 'EID',
        key: "tesUserId",
        dataIndex: 'tesUserId',
        width: 120,
      },
      {
        title: '公司',
        key: "tesCompany",
        dataIndex: 'tesCompany',
        width: 170,
      },
      {
        title: '部门',
        key: "tesDepartment",
        dataIndex: 'tesDepartment',
        width: 120,
      },
      {
        title: '订单号',
        key: "tesOrderId",
        dataIndex: 'tesOrderId',
        width: 200,
      },
      {
        title: '叫车人手机号',
        key: "tesUserPhone",
        dataIndex: 'tesUserPhone',
        width: 200,
      },
      {
        title: '叫车时间',
        key: "tesCarCreateTime",
        dataIndex: 'tesCarCreateTime',
        width: 180,
      },
      {
        title: '车型',
        key: "tesRequireLevel",
        dataIndex: 'tesRequireLevel',
        width: 120,
      },
      {
        title: '车型明细',
        key: "tesRequireLevelDetail",
        dataIndex: 'tesRequireLevelDetail',
        width: 120,
      },
      {
        title: '城市',
        key: "tesCity",
        dataIndex: 'tesCity',
        width: 120,
      },
      {
        title: '出发地地址',
        key: "tesStartName",
        dataIndex: 'tesStartName',
        width: 200,
      },
      {
        title: '目的地地址',
        key: "tesEndName",
        dataIndex: 'tesEndName',
        width: 200,
      },
      {
        title: '实际出发地地址',
        key: "tesActualStartName",
        dataIndex: 'tesActualStartName',
        width: 200,
      },
      {
        title: '实际目的地地址',
        key: "tesActualEndName",
        dataIndex: 'tesActualEndName',
        width: 200,
      },
      {
        title: '出发时间',
        key: "tesStartTime",
        dataIndex: 'tesStartTime',
        width: 200,
      },
      {
        title: '结算计价时间',
        key: "tesFinishTime",
        dataIndex: 'tesFinishTime',
        width: 200,
      },
      {
        title: '订单状态',
        key: "tesOrderStatus",
        dataIndex: 'tesOrderStatus',
        width: 200,
      },
      {
        title: messages('expense-16.key319')/*支付时间*/,
        key: "tesPayTime",
        dataIndex: 'tesPayTime',
        width: 200,
      },
      {
        /*总里程*/
        title: messages('expense-16.key139'/*总里程*/),
        key: "tesNormalDistance",
        dataIndex: 'tesNormalDistance',
        width: 200,
      },
      {
        /*总金额*/
        title: messages('financial-management.key136'/*总金额*/),
        key: "tesTotalPrice",
        dataIndex: 'tesTotalPrice',
        width: 200,
      },
      {
        title: messages('basic-16.key166'/*实付金额*/),
        key: "tesActualPrice",
        dataIndex: 'tesActualPrice',
        width: 120,
      },
      {
        title: messages('financial-management.key856')/*退款时间*/,
        key: "tesRefundTime",
        dataIndex: 'tesRefundTime',
        width: 200,
      },
      {
        title: '退款金额',
        key: "tesRefundPrice",
        dataIndex: 'tesRefundPrice',
        width: 120,
      },
      {
        title: '公司支付金额',
        key: "tesCompanyPayPrice",
        dataIndex: 'tesCompanyPayPrice',
        width: 120,
      },
      {
        title: '公司实付金额',
        key: "tesCompanyActualPrice",
        dataIndex: 'tesCompanyActualPrice',
        width: 120,
      },
      {
        title: '数据入库时间',
        key: "tesCreateTime",
        dataIndex: 'tesCreateTime',
        width: 200,
      },
      {
        title: '滴滴订单号',
        key: "confirmOrderId",
        dataIndex: 'confirmOrderId',
        width: 200,
      },
      {
        title: 'EID',
        key: "confirmUserId",
        dataIndex: 'confirmUserId',
        width: 120,
      },
      {
        title: '手机号',
        key: "confirmUserPhone",
        dataIndex: 'confirmUserPhone',
        width: 200,
      },
      {
        title: '订单金额',
        key: "confirmTotalPrice",
        dataIndex: 'confirmTotalPrice',
        width: 120,
      },
      {
        title: '公司实付金额',
        key: "confirmCompanyActualPrice",
        dataIndex: 'confirmCompanyActualPrice',
        width: 120,
      },
      {
        title: '支付时间',
        key: "confirmPayTime",
        dataIndex: 'confirmPayTime',
        width: 200,
      },
      {
        title: '退款金额',
        key: "confirmRefundPrice",
        dataIndex: 'confirmRefundPrice',
        width: 120,
      },
      {
        title: '退款时间',
        key: "confirmRefundTime",
        dataIndex: 'confirmRefundTime',
        width: 120,
      },
    ]
  },
}
